import{get,post} from '@/http/request'

interface  loginParams{
    username:string,
    password:string
}
export const login =(data:loginParams)=>{
    return post('/user/login',data)
}

export const getBanner =()=>{
    return get('/api/banner')
}
export const menuModule =()=>{
    return get('/api/menuModule')
}
